﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace PoliAsis.Domain.Entities
{
    public class ConstCourseStatus
    {
        public static int PASSED = 1;
        public static int SUBSCRIBED = 2;
        public static int FAIL = 3;

        public static string GetName(int? status)
        {
            if (status == null) return string.Empty;

            switch (status)
            {
                case 1: return "passes";
                case 2: return "subscribed";
                default: return "fail";
            }
        }
    }
}
